//
//  gameover.h
//  crazy_checkers
//
//  Created by Dmitriy Tatarinov on 11/23/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import "stage.h"

@interface NameResponder : NSObject<UITextFieldDelegate>
{
}

-(BOOL)textFieldShouldReturn: (UITextField *) textField;

@end

class GameoverStage: public Stage
	{
		//UITextField* _textInput;
	private:
		long _mainFont;
		long img_gameover;
		long img_name;
		long rec_on;
		long rec_yes;
		long img_add;
		char* txt;
		char names[SCORE_COUNT][50];
		int scores[SCORE_COUNT];
		long snd_pick;
		
	public:
		void Load();
		void Update();
		void Render();
		void Unload();
		//static BOOL returnPress;
        void Create_Textfield();
        UIView * viewx;
        
	};